package com.schoolcloud.serve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 通用属性值表
 * @TableName group_attr_value
 */
@TableName(value ="group_attr_value")
@Data
public class GroupAttrValue implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer groupAttrValueId;

    /**
     * spu编号
     */
    private Integer spuId;

    /**
     * 属性id
     */
    private Integer attrId;

    /**
     * 属性名称
     */
    private String attributeName;

    /**
     * 属性值
     */
    private String attributeValue;

    /**
     * 快速显示
     */
    private Integer quickShow;

    /**
     * 排序
     */
    private String sort;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
